#include <stdio.h>

int main()
{
	int i, j, a, b;
	for (i = 1;i <= 7;i++)
	{
		for (j = 0;j < -i + 7;j++)
			printf(" ");
		for (j = 0;j < 2 * i - 1;j++)
			printf("*");
		printf("\n");
	}

	for (a = 8;a <= 12;a++)
	{
		for (b = 0;b < 6;b++)
			printf(" ");
		for (b = 0;b < 1;b++)
			printf("*");
		printf("\n");
	}
	return 0;
}